﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AD7 RID: 2775
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchBoxingClubOpponentScRsp : IMessage<MatchBoxingClubOpponentScRsp>, IMessage, IEquatable<MatchBoxingClubOpponentScRsp>, IDeepCloneable<MatchBoxingClubOpponentScRsp>, IBufferMessage
	{
		// Token: 0x17002304 RID: 8964
		// (get) Token: 0x06007C2A RID: 31786 RVA: 0x0014B6C5 File Offset: 0x001498C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchBoxingClubOpponentScRsp> Parser
		{
			get
			{
				return MatchBoxingClubOpponentScRsp._parser;
			}
		}

		// Token: 0x17002305 RID: 8965
		// (get) Token: 0x06007C2B RID: 31787 RVA: 0x0014B6CC File Offset: 0x001498CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchBoxingClubOpponentScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002306 RID: 8966
		// (get) Token: 0x06007C2C RID: 31788 RVA: 0x0014B6DE File Offset: 0x001498DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchBoxingClubOpponentScRsp.Descriptor;
			}
		}

		// Token: 0x06007C2D RID: 31789 RVA: 0x0014B6E5 File Offset: 0x001498E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentScRsp()
		{
		}

		// Token: 0x06007C2E RID: 31790 RVA: 0x0014B6F0 File Offset: 0x001498F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentScRsp(MatchBoxingClubOpponentScRsp other) : this()
		{
			this.aKFANIJHPCN_ = ((other.aKFANIJHPCN_ != null) ? other.aKFANIJHPCN_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007C2F RID: 31791 RVA: 0x0014B73C File Offset: 0x0014993C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentScRsp Clone()
		{
			return new MatchBoxingClubOpponentScRsp(this);
		}

		// Token: 0x17002307 RID: 8967
		// (get) Token: 0x06007C30 RID: 31792 RVA: 0x0014B744 File Offset: 0x00149944
		// (set) Token: 0x06007C31 RID: 31793 RVA: 0x0014B74C File Offset: 0x0014994C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKFBMLKMOMJ AKFANIJHPCN
		{
			get
			{
				return this.aKFANIJHPCN_;
			}
			set
			{
				this.aKFANIJHPCN_ = value;
			}
		}

		// Token: 0x17002308 RID: 8968
		// (get) Token: 0x06007C32 RID: 31794 RVA: 0x0014B755 File Offset: 0x00149955
		// (set) Token: 0x06007C33 RID: 31795 RVA: 0x0014B75D File Offset: 0x0014995D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06007C34 RID: 31796 RVA: 0x0014B766 File Offset: 0x00149966
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchBoxingClubOpponentScRsp);
		}

		// Token: 0x06007C35 RID: 31797 RVA: 0x0014B774 File Offset: 0x00149974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchBoxingClubOpponentScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.AKFANIJHPCN, other.AKFANIJHPCN) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007C36 RID: 31798 RVA: 0x0014B7C4 File Offset: 0x001499C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aKFANIJHPCN_ != null)
			{
				num ^= this.AKFANIJHPCN.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007C37 RID: 31799 RVA: 0x0014B819 File Offset: 0x00149A19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007C38 RID: 31800 RVA: 0x0014B821 File Offset: 0x00149A21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007C39 RID: 31801 RVA: 0x0014B82C File Offset: 0x00149A2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.aKFANIJHPCN_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.AKFANIJHPCN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007C3A RID: 31802 RVA: 0x0014B888 File Offset: 0x00149A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aKFANIJHPCN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKFANIJHPCN);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007C3B RID: 31803 RVA: 0x0014B8E0 File Offset: 0x00149AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchBoxingClubOpponentScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aKFANIJHPCN_ != null)
			{
				if (this.aKFANIJHPCN_ == null)
				{
					this.AKFANIJHPCN = new HKFBMLKMOMJ();
				}
				this.AKFANIJHPCN.MergeFrom(other.AKFANIJHPCN);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007C3C RID: 31804 RVA: 0x0014B948 File Offset: 0x00149B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007C3D RID: 31805 RVA: 0x0014B954 File Offset: 0x00149B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.aKFANIJHPCN_ == null)
						{
							this.AKFANIJHPCN = new HKFBMLKMOMJ();
						}
						input.ReadMessage(this.AKFANIJHPCN);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F6F RID: 12143
		private static readonly MessageParser<MatchBoxingClubOpponentScRsp> _parser = new MessageParser<MatchBoxingClubOpponentScRsp>(() => new MatchBoxingClubOpponentScRsp());

		// Token: 0x04002F70 RID: 12144
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F71 RID: 12145
		public const int AKFANIJHPCNFieldNumber = 14;

		// Token: 0x04002F72 RID: 12146
		private HKFBMLKMOMJ aKFANIJHPCN_;

		// Token: 0x04002F73 RID: 12147
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04002F74 RID: 12148
		private uint retcode_;
	}
}
